<template>
  <a-popconfirm title="确认删除吗" okText="是" cancelText="否" @confirm.prevent="$emit('delete')" >
    <a :href="() => false">
      <slot></slot>
    </a>
  </a-popconfirm>
</template>
<script>
import { defineComponent } from 'vue'

export default defineComponent({
  inheritAttrs: true
})
</script>

